//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;

public class LiveExamExpert implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long createTime;
    private Long createUser;
    private Integer state;
    private Long examUserId;
    private Long examId;
    private Long judgeId;
    private BigDecimal score;
    private Long studentId;
    private Integer errState;
    private String errMsg;
    @TableField(
            exist = false
    )
    private String expertName;

    public LiveExamExpert() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getExamUserId() {
        return this.examUserId;
    }

    public Long getExamId() {
        return this.examId;
    }

    public Long getJudgeId() {
        return this.judgeId;
    }

    public BigDecimal getScore() {
        return this.score;
    }

    public Long getStudentId() {
        return this.studentId;
    }

    public Integer getErrState() {
        return this.errState;
    }

    public String getErrMsg() {
        return this.errMsg;
    }

    public String getExpertName() {
        return this.expertName;
    }

    public LiveExamExpert setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveExamExpert setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public LiveExamExpert setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public LiveExamExpert setState(final Integer state) {
        this.state = state;
        return this;
    }

    public LiveExamExpert setExamUserId(final Long examUserId) {
        this.examUserId = examUserId;
        return this;
    }

    public LiveExamExpert setExamId(final Long examId) {
        this.examId = examId;
        return this;
    }

    public LiveExamExpert setJudgeId(final Long judgeId) {
        this.judgeId = judgeId;
        return this;
    }

    public LiveExamExpert setScore(final BigDecimal score) {
        this.score = score;
        return this;
    }

    public LiveExamExpert setStudentId(final Long studentId) {
        this.studentId = studentId;
        return this;
    }

    public LiveExamExpert setErrState(final Integer errState) {
        this.errState = errState;
        return this;
    }

    public LiveExamExpert setErrMsg(final String errMsg) {
        this.errMsg = errMsg;
        return this;
    }

    public LiveExamExpert setExpertName(final String expertName) {
        this.expertName = expertName;
        return this;
    }

    public String toString() {
        return "LiveExamExpert(id=" + this.getId() + ", createTime=" + this.getCreateTime() + ", createUser=" + this.getCreateUser() + ", state=" + this.getState() + ", examUserId=" + this.getExamUserId() + ", examId=" + this.getExamId() + ", judgeId=" + this.getJudgeId() + ", score=" + this.getScore() + ", studentId=" + this.getStudentId() + ", errState=" + this.getErrState() + ", errMsg=" + this.getErrMsg() + ", expertName=" + this.getExpertName() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveExamExpert)) {
            return false;
        } else {
            LiveExamExpert other = (LiveExamExpert)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label155: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label155;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label155;
                    }

                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                label134: {
                    Object this$state = this.getState();
                    Object other$state = other.getState();
                    if (this$state == null) {
                        if (other$state == null) {
                            break label134;
                        }
                    } else if (this$state.equals(other$state)) {
                        break label134;
                    }

                    return false;
                }

                label127: {
                    Object this$examUserId = this.getExamUserId();
                    Object other$examUserId = other.getExamUserId();
                    if (this$examUserId == null) {
                        if (other$examUserId == null) {
                            break label127;
                        }
                    } else if (this$examUserId.equals(other$examUserId)) {
                        break label127;
                    }

                    return false;
                }

                label120: {
                    Object this$examId = this.getExamId();
                    Object other$examId = other.getExamId();
                    if (this$examId == null) {
                        if (other$examId == null) {
                            break label120;
                        }
                    } else if (this$examId.equals(other$examId)) {
                        break label120;
                    }

                    return false;
                }

                Object this$judgeId = this.getJudgeId();
                Object other$judgeId = other.getJudgeId();
                if (this$judgeId == null) {
                    if (other$judgeId != null) {
                        return false;
                    }
                } else if (!this$judgeId.equals(other$judgeId)) {
                    return false;
                }

                label106: {
                    Object this$score = this.getScore();
                    Object other$score = other.getScore();
                    if (this$score == null) {
                        if (other$score == null) {
                            break label106;
                        }
                    } else if (this$score.equals(other$score)) {
                        break label106;
                    }

                    return false;
                }

                Object this$studentId = this.getStudentId();
                Object other$studentId = other.getStudentId();
                if (this$studentId == null) {
                    if (other$studentId != null) {
                        return false;
                    }
                } else if (!this$studentId.equals(other$studentId)) {
                    return false;
                }

                label92: {
                    Object this$errState = this.getErrState();
                    Object other$errState = other.getErrState();
                    if (this$errState == null) {
                        if (other$errState == null) {
                            break label92;
                        }
                    } else if (this$errState.equals(other$errState)) {
                        break label92;
                    }

                    return false;
                }

                Object this$errMsg = this.getErrMsg();
                Object other$errMsg = other.getErrMsg();
                if (this$errMsg == null) {
                    if (other$errMsg != null) {
                        return false;
                    }
                } else if (!this$errMsg.equals(other$errMsg)) {
                    return false;
                }

                Object this$expertName = this.getExpertName();
                Object other$expertName = other.getExpertName();
                if (this$expertName == null) {
                    if (other$expertName != null) {
                        return false;
                    }
                } else if (!this$expertName.equals(other$expertName)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveExamExpert;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $examUserId = this.getExamUserId();
        result1 = result * 59 + ($examUserId == null ? 43 : $examUserId.hashCode());
        Object $examId = this.getExamId();
        result1 = result * 59 + ($examId == null ? 43 : $examId.hashCode());
        Object $judgeId = this.getJudgeId();
        result1 = result * 59 + ($judgeId == null ? 43 : $judgeId.hashCode());
        Object $score = this.getScore();
        result1 = result * 59 + ($score == null ? 43 : $score.hashCode());
        Object $studentId = this.getStudentId();
        result1 = result * 59 + ($studentId == null ? 43 : $studentId.hashCode());
        Object $errState = this.getErrState();
        result1 = result * 59 + ($errState == null ? 43 : $errState.hashCode());
        Object $errMsg = this.getErrMsg();
        result1 = result * 59 + ($errMsg == null ? 43 : $errMsg.hashCode());
        Object $expertName = this.getExpertName();
        result1 = result * 59 + ($expertName == null ? 43 : $expertName.hashCode());
        return result1;
    }
}
